package com.yc.system.mapper;

import com.yc.system.domain.SysUserStorage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @Author YanChen
 * @Description 用户存储信息Mapper接口
 * @Date 10:40 2025/4/13
 **/
@Mapper
public interface SysUserStorageMapper {

    /**
     * 根据用户ID查询存储信息
     */
    @Select("SELECT * FROM sys_user_storage WHERE user_id = #{userId}")
    SysUserStorage selectByUserId(@Param("userId") Long userId);
}
